package 第一个作业;
import java.util.Scanner;
public class luqv {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        school xatu = new school();//创建四个学生对象
        xatu.Passingline=sc.nextInt();//输入一个几个分数线并且赋值给学校；
        student s1 = new student();
        student s2 = new student();
        student s3 = new student();
        s1.name="xieerman";//设置对象的属性
        s2.name="hushi";
        s3.name="qiujier";
        s1.examNumber=001;
        s2.examNumber=002;
        s3.examNumber=003;
        s1.OverallResults=319;
        s2.OverallResults=385;
        s3.OverallResults=295;
        s1.SportsAchievements=91;
        s2.SportsAchievements=88;
        s3.SportsAchievements=94;
        //分别判断某位学生是否能被录取
        if(s1.SportsAchievements>=90||s1.OverallResults>=300){
            System.out.println(s1.name+"被录取");
        }
        if(s2.SportsAchievements>=90||s2.OverallResults>=300){
            System.out.println(s2.name+"被录取");
        }
        if(s3.SportsAchievements>=90||s3.OverallResults>=300){
            System.out.println(s3.name+"被录取");
        }
    }


}